package com.boxin.ims.modules.wechat.entity;

import java.util.Map;


/**
 * @author Jakemanse
 * @date 2013-12-10
 * @function <p> 位置信息  </p>
 */
public class LocationMessage  extends Message{

	public final static String MSG_TYPE = "location";
	
	private String Location_X ;
	private String Location_Y;
	private String Scale;
	private String Label;
	
	
	
	public LocationMessage(Map<String,String> textMap){
		this.setContent(textMap.get("xml.Content"));
		this.setMsgType("location");
		this.setFromUserName(textMap.get("xml.ToUserName"));
		this.setToUserName(textMap.get("xml.FromUserName"));
		this.setCreateTime(textMap.get("xml.CreateTime"));
		this.setLocation_X(textMap.get("xml.Location_X"));
		this.setLocation_Y(textMap.get("xml.Location_Y"));
		
	}
	
	
	@Override
	public String getMsgType() {
		return "location";
	}
	
	

	@Override
	public String replyMessage() {
		
		return null;
	}



	public String getLocation_X() {
		return Location_X;
	}



	public void setLocation_X(String location_X) {
		Location_X = location_X;
	}



	public String getLocation_Y() {
		return Location_Y;
	}



	public void setLocation_Y(String location_Y) {
		Location_Y = location_Y;
	}



	public String getScale() {
		return Scale;
	}



	public void setScale(String scale) {
		Scale = scale;
	}



	public String getLabel() {
		return Label;
	}



	public void setLabel(String label) {
		Label = label;
	}
	
	
	

}
